Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module FreeType.LowLevel.Outline
- newOutlineSVGPrinter :: Handle -> OutlineFuncs Double
- printOutlineSVG :: String -> Handle -> POutline -> IO ()
- class RealFrac (BCoord b) => Bezier b where
- type ResultBezier b = (res :: *) | res -> b
- type BCoord b :: *
- emptyBezier :: b
- resultBezier :: b -> ResultBezier b
- moveTo :: Vector (BCoord b) -> b -> b
- lineTo :: Vector (BCoord b) -> b -> b
- conicTo :: Vector (BCoord b) -> Vector (BCoord b) -> b -> b
- cubicTo :: Vector (BCoord b) -> Vector (BCoord b) -> Vector (BCoord b) -> b -> b
- extractBezier :: Bezier b => POutline -> Int -> BCoord b -> IO (ResultBezier b)
- class RealFrac (BSCoord b) => BezierSegment b where
Documentation
module FreeType.LowLevel.Outline
newOutlineSVGPrinter :: Handle -> OutlineFuncs Double #
Printer for exporting SVG images.
class RealFrac (BCoord b) => Bezier b where #
Bezier curves.
type ResultBezier b = (res :: *) | res -> b #
emptyBezier :: b #
resultBezier :: b -> ResultBezier b #
moveTo :: Vector (BCoord b) -> b -> b #
lineTo :: Vector (BCoord b) -> b -> b #
conicTo :: Vector (BCoord b) -> Vector (BCoord b) -> b -> b #
cubicTo :: Vector (BCoord b) -> Vector (BCoord b) -> Vector (BCoord b) -> b -> b #
resultBezier :: ResultBezier b ~ b => b -> ResultBezier b #
extractBezier :: Bezier b => POutline -> Int -> BCoord b -> IO (ResultBezier b) #
Extract a Bezier curve from an outline.
class RealFrac (BSCoord b) => BezierSegment b where #
Bezier curve segments.